list-[id].vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826
  1. <template>
  2. <div id="newsList">
  3. <!-- 页面头部 -->
  4. <HomePageHead></HomePageHead>
  5. <!-- 页面导航 -->
  6. <HomePageNavigation></HomePageNavigation>
  7. <!-- 广告1 -->
  8. <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>
  9. <!-- 二级导航列表 -->
  10. <div class="nav2top" v-if="parent_name != ''"></div>
  11. <div class="nav2" v-if="parent_name != ''">
  12. <ul class="inner">
  13. <li class="home">
  14. <NuxtLink :to="`/${parent_pinyin}/index.html`"> {{ parent_name }}</NuxtLink>
  15. </li>
  16. <li class="titleList" v-for="(item, index) in secondNav" :key="index">
  17. <NuxtLink :href="getLinkPath(item)" :title="item.alias"
  18. :target="item.is_url == 1 ? '_blank' : '_self'">
  19. <span class="nav2_title">{{ item.alias }}</span>
  20. </NuxtLink>
  21. </li>
  22. </ul>
  23. </div>
  24. <div class="nav2btm" v-if="parent_name != ''"></div>
  25. <!-- 面包屑导航 -->
  26. <div class="breadcrumb">
  27. <div class="inner">
  28. <span class="location">当前位置:</span>
  29. <el-breadcrumb :separator-icon="ArrowRight">
  30. <el-breadcrumb-item>
  31. <NuxtLink to="/">首页</NuxtLink>
  32. </el-breadcrumb-item>
  33. <el-breadcrumb-item v-if="parent_name != ''">
  34. <NuxtLink :to="`/${parent_pinyin}/index.html`"> {{ parent_name }}</NuxtLink>
  35. </el-breadcrumb-item>
  36. <el-breadcrumb-item>{{ name }}</el-breadcrumb-item>
  37. </el-breadcrumb>
  38. </div>
  39. </div>
  40. <!-- 资讯列表 -->
  41. <div class="newsList">
  42. <div class="inner">
  43. <div class="innerLeft">
  44. <ul class="list">
  45. <li v-for="(item, index) in newsList" :key="index">
  46. <NuxtLink :href="getLinkPathDetail(item)" :title="item.alias">
  47. <span class="listTitle">{{ item.title }}</span>
  48. <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
  49. </NuxtLink>
  50. </li>
  51. </ul>
  52. <!-- 分页器 -->
  53. <div class="pagination" v-if="total">
  54. <el-pagination size="small" background layout="prev, pager, next" :total="total" class="mt-4"
  55. v-model:page-size="pageSize" prev-text="上一页" next-text="下一页" :current-page="pageNum"
  56. @current-change="changePage" />
  57. </div>
  58. </div>
  59. <div class="innerRight">
  60. <DetailHotNews></DetailHotNews>
  61. <DetailHotNews2></DetailHotNews2>
  62. </div>
  63. </div>
  64. </div>
  65. <!-- 列表页广告二 -->
  66. <HomeAdvertising :imgurl="adImg2"></HomeAdvertising>
  67. <!-- 页面底部 -->
  68. <HomeFoot1></HomeFoot1>
  69. </div>
  70. </template>
  71. <script setup>
  72. import { onMounted } from 'vue';
  73. import { ElBreadcrumb, ElBreadcrumbItem, ElPagination, ElMessage } from 'element-plus'
  74. import { ArrowRight } from '@element-plus/icons-vue'
  75. // const nuxtApp = useNuxtApp();
  76. // const axios = nuxtApp.$axios;
  77. //1.获得路由id start ---------------------------------------->
  78. const route = useRoute();
  79. let articleId = 0;//路由id
  80. let pageNum = ref(2);
  81. let total = ref(1);
  82. let pageSize = ref(20);
  83. //获得当前的完整路径
  84. const fullPath = route.path;
  85. //拆分,取出来中间这一段,然后提取数字部分
  86. const segments = fullPath.split('/');
  87. const targetSegment = segments[1];
  88. //const numberPart = targetSegment.match(/\d+$/)?.[0];
  89. //let routeId = 20 //排除路径错误可以打开这个
  90. //通过导航路径反向查询导航id
  91. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  92. method: 'GET',
  93. query: {
  94. 'pinyin': targetSegment,
  95. },
  96. });
  97. if (getRouteId.code == 200) {
  98. articleId = getRouteId.data.category_id
  99. } else {
  100. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  101. console.log("错误位置:通过url路径查询导航池id")
  102. console.log("后端错误反馈:", getRouteId.message)
  103. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  104. }
  105. //获得html前的数字
  106. // const pageUrl = segments[2];
  107. // const pageNumber = pageUrl.split('.')[0];
  108. // console.log("当前URL中的页码:")
  109. // console.log(pageNumber)//2
  110. // pageNum.value = parseInt(pageNumber);
  111. pageNum.value = parseInt(route.params.id);
  112. //1.获得路由id end ---------------------------------------->
  113. //2.页面数据 start ---------------------------------------->
  114. //2.2新闻列表
  115. const newsList = ref([]);
  116. let newslists = async () => {
  117. const listData = await requestDataPromise('/web/getWebsiteArticleList', {
  118. method: 'GET',
  119. query: {
  120. 'page': pageNum.value,
  121. 'pageSize': pageSize.value,
  122. 'catid': articleId
  123. },
  124. });
  125. if (listData.code == 200) {
  126. newsList.value = listData.data.rows;
  127. total.value = listData.data.count;
  128. console.log('news111111', newsList.value);
  129. } else {
  130. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  131. console.log("错误位置:获取新闻列表")
  132. console.log("后端错误反馈1111:", listData.message)
  133. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  134. }
  135. }
  136. //获得列表
  137. newslists();
  138. //分页事件
  139. let changePage = (value) => {
  140. console.log("当前页码", value);
  141. navigateTo(`/${targetSegment}/list-${value}.html`)
  142. }
  143. //2.3获得页面名称
  144. const name = ref('')
  145. let getPageName = async () => {
  146. const pageName = await requestDataPromise('/web/getOneWebsiteCategory', {
  147. method: 'GET',
  148. query: {
  149. 'catid': articleId
  150. },
  151. });
  152. if (pageName.code == 200) {
  153. name.value = pageName.data.alias
  154. } else {
  155. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  156. console.log("错误位置:设置页面标题")
  157. console.log("后端错误反馈:", pageName.message)
  158. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  159. }
  160. }
  161. //获得列表
  162. getPageName();
  163. //2.页面数据 end ---------------------------------------->
  164. //3.二级栏目 start ---------------------------------------->
  165. //3.1通过id获取父栏目
  166. const parent_name = ref([]);
  167. const parent_id = ref([]);
  168. const parent_pinyin = ref("");
  169. let getParentNav = async () => {
  170. const listData = await requestDataPromise('/web/getOneWebsiteCategory', {
  171. method: 'GET',
  172. query: {
  173. 'catid': articleId
  174. },
  175. });
  176. if (listData.code == 200) {
  177. // console.log(111999)
  178. // console.log(listData.data);
  179. parent_name.value = listData.data.parent_name;
  180. parent_id.value = listData.data.parent_id;
  181. parent_pinyin.value = listData.data.parent_pinyin;
  182. } else {
  183. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  184. console.log("错误位置:获取新闻列表")
  185. console.log("后端错误反馈:", listData.message)
  186. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  187. }
  188. getSecondNav();
  189. }
  190. //获得父级栏目详情
  191. getParentNav();
  192. // 3.2获取二级栏目
  193. const secondNav = ref([]);
  194. let getSecondNav = async () => {
  195. const listData = await requestDataPromise('/web/getWebsiteModelCategory', {
  196. method: 'GET',
  197. query: {
  198. 'placeid': 1,
  199. 'pid': parent_id.value,
  200. 'num': 8,
  201. },
  202. });
  203. console.log('listData', listData);
  204. // secondNav.value = listData.data;
  205. if (listData.code == 200) {
  206. secondNav.value = listData.data;
  207. console.log('secondNav', secondNav.value);
  208. } else {
  209. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  210. console.log("错误位置:获取新闻列表")
  211. console.log("后端错误反馈:", listData.message)
  212. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  213. }
  214. }
  215. //3.二级栏目 end ---------------------------------------->
  216. //4.设置seo信息 start---------------------------------------->
  217. //4.1 设置seo信息
  218. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  219. method: 'GET',
  220. query: {
  221. 'catid': articleId
  222. },
  223. });
  224. if (setData.code == 200) {
  225. let seoTitle = setData.data.seo_title;
  226. let seoDescription = setData.data.seo_description;
  227. let seoKeywords = setData.data.seo_keywords;
  228. let seoSuffix = setData.data.suffix;
  229. let seoName = setData.data.website_name;
  230. useSeoMeta({
  231. title: seoTitle + "_" + seoName + "_" + seoSuffix,
  232. meta: [
  233. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  234. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  235. ]
  236. });
  237. } else {
  238. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  239. console.log("错误位置:设置列表页面SEO数据")
  240. console.log("后端错误反馈:", setData.message)
  241. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  242. }
  243. //4.设置seo信息 end---------------------------------------->
  244. //5.广告 start---------------------------------------->
  245. let adImg1 = ref({});
  246. let adImg2 = ref({});
  247. onMounted(async () => {
  248. //从客户端获取行政职能部门 加快打开速度
  249. const { $webUrl, $CwebUrl } = useNuxtApp();
  250. //广告1
  251. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_list_0001`
  252. const responseAd1 = await fetch(url, {
  253. headers: {
  254. 'Content-Type': 'application/json',
  255. 'Userurl': $CwebUrl,
  256. 'Origin': $CwebUrl
  257. }
  258. });
  259. const resultAd1 = await responseAd1.json();
  260. adImg1.value = resultAd1.data[0];
  261. console.log('adImg1', adImg1.value);
  262. //广告2
  263. let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_list_0002`
  264. const responseAd2 = await fetch(url2, {
  265. headers: {
  266. 'Content-Type': 'application/json',
  267. 'Userurl': $CwebUrl,
  268. 'Origin': $CwebUrl
  269. }
  270. });
  271. const resultAd2 = await responseAd2.json();
  272. adImg2.value = resultAd2.data[0];
  273. })
  274. //5.广告 end---------------------------------------->
  275. // 6.跳转 start ---------------------------------------->
  276. const getLinkPathDetail = (item) => {
  277. if (item.islink == 1) {
  278. return `${item.linkurl}`;
  279. } else {
  280. return `/${item.pinyin}/${item.id}.html`;
  281. }
  282. }
  283. // 6.跳转 end ---------------------------------------->
  284. </script>
  285. <style lang="less" scoped>
  286. #newsList {
  287. width: 100%;
  288. overflow: hidden;
  289. }
  290. .nav2top {
  291. width: 1250px;
  292. height: 3px;
  293. margin: 0 auto;
  294. background-color: #a01c0e;
  295. }
  296. .nav2btm {
  297. width: 1200px;
  298. height: 3px;
  299. margin: 0 auto;
  300. background-color: #a01c0e;
  301. }
  302. .nav2 {
  303. width: 100%;
  304. height: 48px;
  305. background-color: #a01c0e;
  306. .inner {
  307. width: 1250px;
  308. height: 48px;
  309. line-height: 48px;
  310. padding: 0 45px;
  311. margin: 0 auto;
  312. box-sizing: border-box;
  313. display: flex;
  314. // justify-content: space-between;
  315. .titleList {
  316. font-family: Microsoft YaHei, Microsoft YaHei;
  317. font-weight: bold;
  318. font-size: 14px;
  319. color: #FFFFFF;
  320. .nav2_title {
  321. display: inline-block;
  322. font-family: Microsoft YaHei, Microsoft YaHei;
  323. font-weight: bold;
  324. font-size: 14px;
  325. color: #FFFFFF;
  326. }
  327. a {
  328. padding: 0 38px;
  329. color: #FFFFFF;
  330. border-left: 1px solid #7E1C11;
  331. }
  332. //鼠标点击后的样式
  333. .nav2_title_active {
  334. display: inline-block;
  335. font-family: Microsoft YaHei, Microsoft YaHei;
  336. font-weight: bold;
  337. font-size: 14px;
  338. color: #FFFFFF;
  339. border-bottom: 1px solid #FFFFFF;
  340. }
  341. }
  342. .titleList:hover {
  343. a {
  344. color: #a01c0e;
  345. .nav2_title {
  346. border-bottom: 1px solid #FFFFFF;
  347. }
  348. }
  349. }
  350. .home {
  351. width: 100px;
  352. font-family: Microsoft YaHei, Microsoft YaHei;
  353. font-weight: bold;
  354. font-size: 14px;
  355. color: #F8ECD2;
  356. a {
  357. color: #F8ECD2;
  358. margin-right: 39px;
  359. }
  360. }
  361. }
  362. }
  363. //导航条
  364. .breadcrumb {
  365. width: 100%;
  366. height: 22px;
  367. margin-bottom: 30px;
  368. font-family: Microsoft YaHei, Microsoft YaHei;
  369. font-weight: 400;
  370. font-size: 20px;
  371. color: #666666;
  372. line-height: 23px;
  373. text-align: left;
  374. font-style: normal;
  375. text-transform: none;
  376. margin-top: 40px;
  377. :deep(.el-breadcrumb) {
  378. display: inline-block;
  379. vertical-align: -4px;
  380. }
  381. :deep(.el-breadcrumb__inner a),
  382. :deep(.el-breadcrumb__inner.is-link) {
  383. color: #666666;
  384. font-weight: 400;
  385. text-decoration: none;
  386. transition: var(--el-transition-color);
  387. }
  388. span {
  389. font-family: Microsoft YaHei, Microsoft YaHei;
  390. font-weight: 400;
  391. font-size: 20px;
  392. color: #666666;
  393. line-height: 23px;
  394. text-align: left;
  395. font-style: normal;
  396. text-transform: none;
  397. }
  398. span:hover {
  399. color: #666666;
  400. }
  401. .location {
  402. margin-right: 20px;
  403. width: 100px;
  404. height: 22px;
  405. font-family: Microsoft YaHei, Microsoft YaHei;
  406. font-weight: 400;
  407. font-size: 20px;
  408. color: #666666;
  409. line-height: 23px;
  410. text-align: left;
  411. font-style: normal;
  412. text-transform: none;
  413. }
  414. }
  415. // 资讯列表
  416. .newsList {
  417. width: 100%;
  418. // height: 675px;
  419. overflow: hidden;
  420. margin-bottom: 70px;
  421. .inner {
  422. width: 1200px;
  423. .innerLeft,
  424. .innerRight {
  425. border-top: 1px solid #ccc;
  426. }
  427. .innerLeft {
  428. width: 820px;
  429. margin-right: 30px;
  430. .list {
  431. margin-bottom: 70px;
  432. li {
  433. width: 820px;
  434. padding: 15px 0;
  435. a {
  436. display: flex;
  437. justify-content: space-between;
  438. }
  439. .listTitle {
  440. // float: left;
  441. display: inline-block;
  442. width: 486px;
  443. white-space: nowrap;
  444. overflow: hidden;
  445. text-overflow: ellipsis;
  446. font-family: Microsoft YaHei, Microsoft YaHei;
  447. font-weight: 400;
  448. font-size: 20px;
  449. color: #333333;
  450. text-align: left;
  451. font-style: normal;
  452. text-transform: none;
  453. }
  454. .time {
  455. // float: right;
  456. font-family: Microsoft YaHei, Microsoft YaHei;
  457. font-weight: 400;
  458. font-size: 18px;
  459. color: #333333;
  460. }
  461. }
  462. >li:hover .listTitle {
  463. color: #a01c0e;
  464. }
  465. >li:nth-child(5n) {
  466. border-bottom: 1px solid #D9D9D9;
  467. padding-bottom: 30px;
  468. }
  469. >li:nth-child(5n+1) {
  470. span {
  471. font-weight: bold;
  472. }
  473. font-weight: bold;
  474. padding-top: 30px;
  475. }
  476. }
  477. >.pagination {
  478. width: 800px;
  479. height: 34px;
  480. margin-left: 141px;
  481. display: flex;
  482. justify-content: center;
  483. margin: 0;
  484. // 鼠标移入后字体颜色
  485. .el-pagination::v-deep :hover {
  486. color: #a01c0e;
  487. }
  488. .el-pagination.is-background::v-deep .btn-next,
  489. .el-pagination.is-background::v-deep .btn-prev {
  490. width: 70px;
  491. height: 34px;
  492. margin: 0px 10px;
  493. border-radius: 4px;
  494. }
  495. .el-pagination.is-background::v-deep .el-pager li {
  496. margin: 0px 10px;
  497. width: 38px;
  498. height: 34px;
  499. border-radius: 4px;
  500. }
  501. .el-pagination.is-background::v-deep .btn-next.is-active,
  502. .el-pagination.is-background::v-deep .btn-prev.is-active,
  503. .el-pagination.is-background::v-deep .el-pager li.is-active {
  504. background-color: #a01c0e;
  505. color: #fff;
  506. }
  507. }
  508. }
  509. .innerRight {
  510. width: 350px;
  511. height: 1242px;
  512. border-bottom: 1px solid #ccc;
  513. // height: 605px;
  514. }
  515. }
  516. }
  517. //资讯推荐
  518. .zixuntuijian {
  519. width: 100%;
  520. height: 290px;
  521. margin-bottom: 70px;
  522. .innerLeft {
  523. // 左侧
  524. .zixunLeft {
  525. margin-right: 30px;
  526. }
  527. .zixunRight,
  528. .zixunLeft {
  529. float: left;
  530. width: 380px;
  531. height: 290px;
  532. // 标题部分
  533. >.title {
  534. width: 380px;
  535. }
  536. >.title>h3 {
  537. height: 36px;
  538. font-family: Source Han Sans, Source Han Sans;
  539. font-weight: bold;
  540. font-size: 24px;
  541. color: #000000;
  542. line-height: 28px;
  543. text-align: left;
  544. font-style: normal;
  545. text-transform: none;
  546. border-bottom: 1px solid #a01c0e;
  547. }
  548. >.title>h3>span {
  549. float: right;
  550. width: 56px;
  551. height: 20px;
  552. line-height: 24px;
  553. font-weight: 400;
  554. font-size: 14px;
  555. color: #999999;
  556. font-style: normal;
  557. text-transform: none;
  558. }
  559. .photo_text {
  560. >li:first-child {
  561. width: 380px;
  562. height: 120px;
  563. margin-top: 20px;
  564. margin-bottom: 15px;
  565. position: relative;
  566. >img {
  567. float: left;
  568. width: 160px;
  569. height: 120px;
  570. }
  571. >div {
  572. float: left;
  573. width: 220px;
  574. height: 120px;
  575. padding-left: 15px;
  576. padding-top: 6px;
  577. box-sizing: border-box;
  578. background-color: #f6f6f6;
  579. >h5 {
  580. width: 200px;
  581. height: 54px;
  582. display: -webkit-box;
  583. -webkit-box-orient: vertical;
  584. -webkit-line-clamp: 2;
  585. overflow: hidden;
  586. text-overflow: ellipsis;
  587. word-break: break-all;
  588. font-family: Source Han Sans, Source Han Sans;
  589. font-weight: 500;
  590. font-size: 18px;
  591. color: #333333;
  592. line-height: 26px;
  593. text-align: left;
  594. font-style: normal;
  595. text-transform: none;
  596. }
  597. >p {
  598. width: 200px;
  599. height: 22px;
  600. line-height: 20px;
  601. position: absolute;
  602. bottom: 5px;
  603. right: 0;
  604. >span {
  605. display: inline-block;
  606. // width: 100px;
  607. height: 18px;
  608. font-family: Source Han Sans, Source Han Sans;
  609. font-weight: 400;
  610. font-size: 12px;
  611. color: #999999;
  612. text-align: left;
  613. line-height: 14px;
  614. font-style: normal;
  615. text-transform: none;
  616. }
  617. >span:last-child {
  618. // width: 90px;
  619. text-align: right;
  620. margin-left: 20px;
  621. }
  622. }
  623. }
  624. }
  625. >li {
  626. width: 380px;
  627. height: 25px;
  628. white-space: nowrap;
  629. overflow: hidden;
  630. text-overflow: ellipsis;
  631. font-family: PingFang SC, PingFang SC;
  632. font-weight: 500;
  633. font-size: 18px;
  634. color: #333333;
  635. line-height: 21px;
  636. text-align: left;
  637. font-style: normal;
  638. text-transform: none;
  639. margin-bottom: 10px;
  640. em {
  641. display: inline-block;
  642. width: 8px;
  643. height: 8px;
  644. border-radius: 8px;
  645. margin-right: 10px;
  646. background-color: #d9d9d9;
  647. }
  648. }
  649. >li:hover {
  650. color: #a01c0e;
  651. }
  652. >li:hover em {
  653. background-color: #a01c0e;
  654. }
  655. }
  656. }
  657. }
  658. .innerRight {
  659. width: 381px;
  660. height: 290px;
  661. background-color: #fbfbfb;
  662. >.title {
  663. width: 380px;
  664. height: 40px;
  665. line-height: 40px;
  666. border-top: 1px solid #a01c0e;
  667. border-bottom: 1px solid #e7e7e7;
  668. >h4 {
  669. font-family: Microsoft YaHei, Microsoft YaHei;
  670. font-weight: 400;
  671. margin-left: 20px;
  672. font-size: 20px;
  673. color: #000000;
  674. text-align: left;
  675. font-style: normal;
  676. text-transform: none;
  677. >span {
  678. float: right;
  679. font-family: Microsoft YaHei, Microsoft YaHei;
  680. font-weight: 400;
  681. font-size: 14px;
  682. margin-right: 10px;
  683. color: #999999;
  684. text-align: left;
  685. font-style: normal;
  686. text-transform: none;
  687. }
  688. }
  689. }
  690. .rightList {
  691. height: 540px;
  692. margin-top: 20px;
  693. >li {
  694. height: 100px;
  695. margin-bottom: 10px;
  696. >img {
  697. width: 150px;
  698. height: 100px;
  699. }
  700. >p {
  701. width: 219px;
  702. height: 100px;
  703. padding-left: 12px;
  704. font-family: PingFang SC, PingFang SC;
  705. font-weight: 400;
  706. font-size: 16px;
  707. color: #333333;
  708. line-height: 22px;
  709. text-align: left;
  710. font-style: normal;
  711. text-transform: none;
  712. }
  713. >p:hover {
  714. box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.1);
  715. }
  716. }
  717. }
  718. }
  719. }
  720. </style>